package com.hsmw.domain;

import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 租赁公司表
 * </p>
 *
 * @author wd
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwSettlementRecord对象", description="结算记录表")
public class HsmwSettlementRecord extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "结算金额")
    private BigDecimal settlementAmount;

    @ApiModelProperty(value = "结算类型  0 充值 1. 冻结 2. 确认 3.结算")
    private String settlementType;

    @ApiModelProperty(value = "操作人ID")
    private String handleUserId;

    @ApiModelProperty(value = "操作人姓名")
    private String handleUserName;

    @ApiModelProperty(value = "操作时间")
    private LocalDateTime handleTime;

    @ApiModelProperty(value = "剩余冻结额度")
    private BigDecimal frozenLimit;

    @ApiModelProperty(value = "剩余可用额度")
    private BigDecimal availableLimit;

    @ApiModelProperty(value = "剩余未结算额度")
    private BigDecimal unSettlementLimit;

    @ApiModelProperty(value = "已结算金额总计")
    private BigDecimal settlementLimit;

    @ApiModelProperty(value = "用户类型 COMPANY CONCRETE")
    private String userType;

    @ApiModelProperty(value = "组织ID")
    private String companyId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "子订单ID")
    private String relationId;


}
